package com.itheima.spring.cyclicDependency.bean;

import com.itheima.spring.cyclicDependency.annitation.Autowired;
import com.itheima.spring.cyclicDependency.annitation.Component;
import lombok.Data;

@Component
@Data
public class UserA {

    @Autowired
    private UserB userB;


    public void run(){
        System.out.println("UserA");
    }
}
